package com.jic.member.response;

import com.jic.common.base.vo.AdminOperate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("会员积分流水")
public class MememberIntegralLogResponse {
    private AdminOperate adminOperate;
    @ApiModelProperty(
        notes = "会员积分流水ID"
    )
    private Long id;
    @ApiModelProperty(
        notes = "用户账号"
    )
    private String userAccount;
    @ApiModelProperty(
        notes = "第三方用户id"
    )
    private String thirdUserId;
    @ApiModelProperty(
        notes = "会员id"
    )
    private Long memberUserId;
    @ApiModelProperty(
        notes = "部门id"
    )
    private Long deptId;
    @ApiModelProperty(
        notes = "会员积分"
    )
    private BigDecimal integral;
    @ApiModelProperty(
        notes = "操作类型 1：积分查询 2：积分添加 3：积分修改 4：其他"
    )
    private Integer actionType;
    @ApiModelProperty(
        notes = "操作类型 1：积分查询 2：积分添加 3：积分修改 4：其他"
    )
    private String actionTypeDes;
    @ApiModelProperty(
        notes = "创建日期"
    )
    private Date createTime;
    @ApiModelProperty(
        notes = "创建者id"
    )
    private Long creatorId;
    @ApiModelProperty(
        notes = "更新时间 数据库"
    )
    private Date updateTime;
    @ApiModelProperty(
        notes = "更新用户id"
    )
    private Long updateId;
    @ApiModelProperty(
        notes = "冻结积分"
    )
    private BigDecimal freezeIntegral;
    @ApiModelProperty(
        notes = "积分变动方式 1：下单赠送2：注册赠送3：评价赠送：4：充值赠送5：分享赠送6：点赞赠送7：晒单赠送8：收藏赠送9：参与活动赠送 10：消费抵现 11：兑换优惠券 12：兑换红包13：兑换产品功能 14：兑换付费内容15：退款返还：16取消评价返还：17取消点赞返还：18：兑换抽奖活动；"
    )
    private Integer changeMode;
    private Integer changeTypes;
    @ApiModelProperty(
        notes = "积分变动时间"
    )
    private Date changeTime;
    @ApiModelProperty(
        notes = "操作类型 1：消费积分 2：任务积分3：活动积分"
    )
    private Integer integralType;

    @ApiModelProperty(notes = "订单编号,下单送积分时必输")
    private Long orderId;

    @ApiModelProperty(notes = "子平台编号")
    private Integer childId;
}
